You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
470 B
24 lines
470 B
server { |
|
listen 80 default_server; |
|
listen [::]:80 default_server; |
|
|
|
server_name SERVER_NAME; |
|
root FILE_ROOT; |
|
index index.php; |
|
|
|
location = /favicon.ico { |
|
log_not_found off; |
|
access_log off; |
|
} |
|
|
|
location / { |
|
try_files $uri $uri/ /index.php?$args; |
|
} |
|
|
|
location ~ \.php$ { |
|
include snippets/fastcgi-php.conf; |
|
fastcgi_intercept_errors on; |
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock; |
|
} |
|
}
|
|
|