1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

remove redirect to https. blog accessible in http. admin in https through sso protected setting

This commit is contained in:
Julien Malik 2014-04-07 12:15:09 +02:00
parent f0bd92cb82
commit 73fee3ee4e

View file

@ -1,8 +1,4 @@
location YNH_LOCATION {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;