1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snweb_ynh.git synced 2024-09-03 20:26:22 +02:00

Fix: linter: remove http->https redirect

This commit is contained in:
Fabian Wilkens 2022-01-04 19:36:04 +01:00
parent 1a7dd39ece
commit 50da702ae2
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB

View file

@ -3,11 +3,6 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/live/public ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 25M;