fix: update Nginx path, remove Caddyfile

This commit is contained in:
Oliver Davies 2023-02-19 08:15:06 +00:00
parent 7180b11edb
commit 3784535b07
3 changed files with 1 additions and 27 deletions

View file

@ -1,6 +0,0 @@
{$SERVER_NAME}
root * /var/www/html/web
php_fastcgi php-fpm:9000
encode gzip
file_server

View file

@ -1,20 +0,0 @@
server {
server_name _;
root /app/web;
location / {
try_files $uri /index.php?$query_string;
}
location ~ \.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param QUERY_STRING $query_string;
fastcgi_intercept_errors on;
fastcgi_pass php:9000;
}
}

View file

@ -1,7 +1,7 @@
server {
server_name _;
root /app/docroot;
root /app/web;
location / {
try_files $uri /index.php?$query_string;