mirror of
https://github.com/YunoHost-Apps/gancio_ynh.git
synced 2024-09-03 20:36:19 +02:00
fix encoding
This commit is contained in:
parent
81e8441ef6
commit
48cccb2aee
1 changed files with 10 additions and 1 deletions
|
@ -1 +1,10 @@
|
||||||
location%20__PATH__%2F%20%7B%0D%0A%20%20%20%20%0D%0A%20%20%20%20proxy_pass%20%20%20%20%20%20%20http%3A%2F%2F127.0.0.1%3A__PORT__%3B%0D%0A%20%20%20%20proxy_set_header%20X-Real-IP%20%24remote_addr%3B%0D%0A%20%20%20%20proxy_set_header%20Host%20%24host%3B%0D%0A%20%20%20%20proxy_set_header%20X-Forwarded-For%20%24proxy_add_x_forwarded_for%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20%23%20Include%20SSOWAT%20user%20panel.%0D%0A%20%20%20%20include%20conf.d%2Fyunohost_panel.conf.inc%3B%0D%0A%20%20%20%20%7D%22
|
location __PATH__/ {
|
||||||
|
|
||||||
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
|
# Include SSOWAT user panel.
|
||||||
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue