mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Let Yunohost handle the http->https redirect
This commit is contained in:
parent
c18f47967c
commit
99f378fef5
1 changed files with 0 additions and 5 deletions
|
@ -6,11 +6,6 @@ location __PATH__/ {
|
||||||
client_max_body_size 200M;
|
client_max_body_size 200M;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
# Force https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue