1
0
Fork 0
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:
polytan02 2016-12-24 14:15:59 +00:00
parent 9c4ed0c7a3
commit 42a608c36b

View file

@ -1,10 +1,11 @@
location PATHTOCHANGE { location PATHTOCHANGE {
alias FOLDERTOCHANGE; alias ALIASTOCHANGE;
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
client_max_body_size 10G;
index index.php index.html; index index.php index.html;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {