1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Appease linter: redirect to https is now handled by the Core

This commit is contained in:
tituspijean 2022-08-05 10:56:34 +02:00
parent a95fe798f2
commit c4e0bc310b
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -4,10 +4,6 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/public/ ;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
# Bug in Nginx with locations and aliases (see http://stackoverflow.com/a/35102259 )