mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
cleaned spaces in nginx.conf and removed https redirection
This commit is contained in:
parent
82cddfa8f3
commit
18cd39506f
1 changed files with 33 additions and 38 deletions
|
@ -1,13 +1,8 @@
|
||||||
location __PATH__ {
|
location __PATH__ {
|
||||||
#Source: https://docs.weblate.org/en/latest/admin/install.html#sample-configuration-for-nginx-and-uwsgi
|
#Source: https://docs.weblate.org/en/latest/admin/install.html#sample-configuration-for-nginx-and-uwsgi
|
||||||
#TODO:https://docs.weblate.org/en/latest/admin/install.html#id2
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
# DATA_DIR/static/favicon.ico
|
# DATA_DIR/static/favicon.ico
|
||||||
alias __FINALPATH__/static/favicon.ico;
|
alias __FINALPATH__/static/favicon.ico;
|
||||||
|
|
Loading…
Reference in a new issue