1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

update nginx conf

This commit is contained in:
Thomas LEBEAU 2014-06-15 22:43:38 +02:00
parent a868e7906f
commit 220ed71feb

View file

@ -1,11 +1,12 @@
location PATHTOCHANGE/admin {
location PATHTOCHANGE {
alias ALIASTOCHANGE;
proxy_pass http://127.0.0.1:9091PATHTOCHANGE/admin
;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php index.html index.htm;
try_files $uri $uri/ index.php;
default_type text/html;
location ~ [^/]\.php(/|$) {