|
@@ -3,11 +3,6 @@ location YNH_EXAMPLE_PATH {
|
|
# Path to source
|
|
# Path to source
|
|
alias YNH_EXAMPLE_ALIAS ;
|
|
alias YNH_EXAMPLE_ALIAS ;
|
|
|
|
|
|
- # Force https
|
|
|
|
- if ($scheme = http) {
|
|
|
|
- rewrite ^ https://$server_name$request_uri? permanent;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
# Example PHP configuration
|
|
# Example PHP configuration
|
|
index index.php;
|
|
index index.php;
|
|
try_files $uri $uri/ index.php;
|
|
try_files $uri $uri/ index.php;
|