This repository has been archived on 2024-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
flox-dockerized/rootfs/etc/nginx/sites-enabled/default

25 lines
555 B
Text
Raw Normal View History

2022-04-16 01:25:32 +02:00
server {
listen 80 default_server;
2022-04-16 14:37:16 +02:00
server_name _;
2022-04-16 01:25:32 +02:00
root /flox/public/;
index index.php;
client_max_body_size 64M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
2022-04-16 14:37:16 +02:00
#fastcgi_param HTTPS on;
2022-04-16 01:25:32 +02:00
include fastcgi_params;
}
}