mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Force https
The app is not forcing https, due to which app needs to me manually opened in https to make the communication secure.
This commit is contained in:
parent
a19947807c
commit
08c9f6593e
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
location __PATH__ {
|
location __PATH__ {
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__/;
|
||||||
|
if ($scheme = http) {
|
||||||
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
}
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
index index.php;
|
index index.php;
|
||||||
default_type text/html;
|
default_type text/html;
|
||||||
|
|
Loading…
Reference in a new issue