From 9bfc828bd59c917d1480f138248c040aba59801c Mon Sep 17 00:00:00 2001 From: HugoPoi Date: Thu, 8 Dec 2022 13:16:17 +0100 Subject: [PATCH] Revert "feat: docker-compose with hugo dev mode" This reverts commit 5a3be8e5464921153c4edee783d5f37e50974abe. --- docker-compose.yml | 7 ------- nginx.conf | 5 ----- 2 files changed, 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2577484..c610c34 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,10 +12,3 @@ services: image: php:8-fpm volumes: - ./www:/var/www/html - hugo: - image: mbentley/hugo - working_dir: "/data" - user: "${UID}:${GID}" - volumes: - - ./v2:/data - command: server -D --bind 0.0.0.0 diff --git a/nginx.conf b/nginx.conf index 5339049..e996a58 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,11 +5,6 @@ server { # access_log /var/log/nginx/access.log; root /var/www/html; try_files $uri $uri/ /index.php; - - location /v2 { - proxy_pass http://hugo:1313/v2; - } - location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass php-fpm:9000;