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:
parent
09e9ab8d65
commit
240ead1e3b
1 changed files with 1 additions and 4 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue