mirror of
https://github.com/YunoHost-Apps/13ft_ynh.git
synced 2024-09-03 18:06:03 +02:00
implement reverse proxy
https://github.com/YunoHost-Apps/13ft_ynh/issues/2#issuecomment-1564634875
This commit is contained in:
parent
57a2204918
commit
f01b48bfde
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ location __PATH__/ {
|
|||
|
||||
# Path to source
|
||||
alias __FINALPATH__/;
|
||||
|
||||
# static files
|
||||
proxy_pass http://localhost:5000;
|
||||
proxy_set_header Host $http_host;
|
||||
more_set_headers "X-Frame-Options: ALLOWALL";
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
Loading…
Add table
Reference in a new issue