mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Remove http->https redirect in nginx conf, now handled by yunohost core
This commit is contained in:
parent
66f021fe6b
commit
47598ffd1c
1 changed files with 0 additions and 4 deletions
|
@ -1,10 +1,6 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
# Force https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://127.0.0.1:__PORT__/;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Add table
Reference in a new issue