Merge pull request #177 from YunoHost/HTTPS-redirection

Remove HTTPS redirection
This commit is contained in:
Alexandre Aubin 2021-11-20 22:57:12 +01:00 committed by GitHub
commit a118dac5dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -4,11 +4,6 @@ location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/ ; alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
### Example PHP configuration (remove it if not used) ### Example PHP configuration (remove it if not used)
index index.php; index index.php;

View file

@ -22,7 +22,7 @@
"email": "john.doe@example.com" "email": "john.doe@example.com"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.1.3" "yunohost": ">= 4.3.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [