mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-26 06:28:27 +03:00
23 lines
450 B
Text
23 lines
450 B
Text
|
server {
|
||
|
server_name doma.in;
|
||
|
listen 80;
|
||
|
root /path/to/shlink/public;
|
||
|
index index.php;
|
||
|
charset utf-8;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php$is_args$args;
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||
|
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
|
||
|
fastcgi_index index.php;
|
||
|
include fastcgi.conf;
|
||
|
}
|
||
|
|
||
|
location ~ /\.ht {
|
||
|
deny all;
|
||
|
}
|
||
|
}
|