2018-12-16 23:05:12 +01:00
|
|
|
location __PATH__/ {
|
2019-03-29 22:18:08 +01:00
|
|
|
proxy_pass http://localhost:__PORT__;
|
2017-06-28 16:54:03 +02:00
|
|
|
proxy_set_header Host $host;
|
2019-04-04 13:54:34 +02:00
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
2017-06-28 16:54:03 +02:00
|
|
|
proxy_set_header X-Forwarded-Ssl on;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
2019-04-04 13:54:34 +02:00
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
2017-06-10 10:10:31 +02:00
|
|
|
|
2019-03-29 22:18:08 +01:00
|
|
|
client_max_body_size __CLIENT_MAX_BODY_SIZE__;
|
|
|
|
|
2017-06-28 16:54:03 +02:00
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
|
|
|
proxy_set_header Accept-Encoding "";
|
2017-06-10 10:10:31 +02:00
|
|
|
}
|