Reapply "trusted proxies"

This reverts commit 72be30c25f.
This commit is contained in:
Alexandre
2024-07-27 09:56:16 +02:00
parent 72be30c25f
commit 32abce6b77
3 changed files with 50 additions and 10 deletions

View File

@@ -1,14 +1,21 @@
server {
listen %%interface%%:%%port%% default_server;
listen 8443;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
ssl_certificate /ssl/%%certfile%%;
ssl_certificate_key /ssl/%%keyfile%%;
client_max_body_size 0;
location / {
root /var/www/firefly-iii/public/;
}
root /var/www/firefly-iii/public/;
index index.html;
location / {
root /var/www/firefly-iii/public/;
}
location ~* \.php(?:$|/) {
include snippets/fastcgi-php.conf;
@@ -17,5 +24,3 @@ server {
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
}
}