Revert "feat: docker-compose with hugo dev mode"
This reverts commit 5a3be8e546
.
This commit is contained in:
parent
5a3be8e546
commit
9bfc828bd5
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user