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:
parent
a868e7906f
commit
220ed71feb
1 changed files with 3 additions and 2 deletions
|
@ -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(/|$) {
|
||||
|
|
Loading…
Reference in a new issue