1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/13ft_ynh.git synced 2024-09-03 18:06:03 +02:00

fix double in Nginx

This commit is contained in:
lapineige 2023-07-26 08:53:20 +02:00 committed by GitHub
parent 09e9ab8d65
commit 240ead1e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ { location __PATH__/ {
# Path to source
alias __FINALPATH__/;
# static files
proxy_pass http://localhost:5000; proxy_pass http://localhost:5000;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
more_set_headers "X-Frame-Options: ALLOWALL"; more_set_headers "X-Frame-Options: ALLOWALL";