fix: update Nginx path, remove Caddyfile
This commit is contained in:
parent
7180b11edb
commit
3784535b07
|
@ -1,6 +0,0 @@
|
|||
{$SERVER_NAME}
|
||||
|
||||
root * /var/www/html/web
|
||||
php_fastcgi php-fpm:9000
|
||||
encode gzip
|
||||
file_server
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
server {
|
||||
server_name _;
|
||||
|
||||
root /app/docroot;
|
||||
root /app/web;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.php?$query_string;
|
||||
|
|
Loading…
Reference in a new issue