mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Update on initial nginx.conf
This commit is contained in:
parent
9c4ed0c7a3
commit
42a608c36b
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
location PATHTOCHANGE {
|
||||
alias FOLDERTOCHANGE;
|
||||
alias ALIASTOCHANGE;
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
client_max_body_size 10G;
|
||||
index index.php index.html;
|
||||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
Loading…
Reference in a new issue