mirror of
https://github.com/YunoHost-Apps/syncserver-rs_ynh.git
synced 2024-09-03 20:26:32 +02:00
* Fix installation (#3) * Fixed linter warnings * Add python3-venv to deps. * Auto-update README * cleaning --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Add maintainer and tweak auto versioning. (#7) * Fix backup, restore, upgrade and change_url (#6) * Fix backup and restore. * Don't 302 to docs on / * Update nginx.conf * Fix linter * Fix more scripts. * Anoter fix * Increase verbosity. * Update scripts. * Use dedicated domain. * Fixup restore. * Only create dir if it does not exist. * Update manifest.toml * Update install --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Fix package id (#9) * Fix package id * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
25 lines
750 B
Nginx Configuration File
25 lines
750 B
Nginx Configuration File
#rewrite ^__PATH__$ __PATH__/ permanent;
|
|
|
|
location = __PATH__/ {
|
|
more_set_headers "Content-Type: text/plain";
|
|
return 200 'Syncstorage is running';
|
|
}
|
|
|
|
location __PATH__/ {
|
|
include uwsgi_params;
|
|
# Needed for long running operations in admin interface
|
|
proxy_pass http://127.0.0.1:__PORT__/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
proxy_set_header X-Forwarded-Server $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_buffering off;
|
|
client_max_body_size 200M;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
|
|
|
|
|