1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/droppy_ynh.git synced 2024-09-03 18:26:27 +02:00
droppy_ynh/conf/nginx.conf

31 lines
938 B
Nginx Configuration File
Raw Permalink Normal View History

Testing (#22) * upgrade to v.12.1.0 * Update nginx.conf * Upgrade to 12.2.0 (#3) * Upgrade to 12.2.0 * Add maintainer * Fix issue #5 (#6) Explicity set the correct owner and group for the data dir during backup restore Co-authored-by: Rasmus Mattsson Kallio <rasmus@mallio.se> * Version bump * Fix linter warnings * Update manifest.json * Update manifest.json * Set badge in SVG * Finding an available port * Small fixes * Small fix * Cleaning up * Update manifest.json * Update manifest.json * Protect config file * Update manifest.json * [autopatch] Update issue and PR templates (#13) Co-authored-by: Yunohost-Bot <> * Add templates * fix (#16) * Update manifest.json * Auto-update README * Update scripts/install Co-authored-by: tituspijean <tituspijean@outlook.com> * Update scripts/upgrade Co-authored-by: tituspijean <tituspijean@outlook.com> * Update upgrade * Update check_process * Update check_process * Update manifest.json * Update check_process * Update manifest.json * Auto-update README * Enhance README (#19) * Rename DESCRITION.md to DESCRIPTION.md Co-authored-by: Yunohost-Bot <> * Auto-update README * bump version * Auto-update README * Fix * Update manifest.json * Auto-update README Co-authored-by: Rasmus MK <71251695+rasmus-mk@users.noreply.github.com> Co-authored-by: Rasmus Mattsson Kallio <rasmus@mallio.se> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-04-24 14:42:25 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2020-08-17 17:29:58 +02:00
proxy_pass http://127.0.0.1:__PORT__/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_http_version 1.1;
proxy_cache off;
proxy_buffering off;
proxy_redirect off;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_pass_header Content-Type;
proxy_request_buffering off;
proxy_ignore_client_abort on;
proxy_connect_timeout 7200;
proxy_read_timeout 7200;
proxy_send_timeout 7200;
client_max_body_size 0;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}