1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

force https

This commit is contained in:
titoko titoko 2013-11-29 15:15:48 +01:00
parent ea50e1f6e2
commit 8614bfc04c

View file

@ -1,6 +1,9 @@
location PATHTOCHANGE {
alias ALIASTOCHANGE ;
index index.php;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;