1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/endi_ynh.git synced 2024-09-03 18:35:54 +02:00
This commit is contained in:
Éric Gaspar 2023-09-07 10:32:11 +02:00 committed by Félix Piédallu
parent fe51aa5932
commit 697ee140d0
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ { location __PATH__/ {
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=enDI, logiciel de comptabilité pour CAE Description=enDI: logiciel de comptabilité pour CAE
After=network.target After=network.target
[Service] [Service]