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:
parent
ea50e1f6e2
commit
8614bfc04c
1 changed files with 4 additions and 1 deletions
|
@ -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)(/.*)$;
|
||||
|
|
Loading…
Add table
Reference in a new issue