phpcomposeryggdrasilbittorrentjs-lessalt-websymfonysphinxcatalogtorrentmagnetwikidistributedsocial-networkfederatedsqlitetracker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
357 B
25 lines
357 B
server { |
|
listen [::]:80 default; |
|
|
|
allow 0200::/7; |
|
deny all; |
|
|
|
root /var/www/html; |
|
|
|
index index.html index.htm index.nginx-debian.html index.php; |
|
|
|
server_name _; |
|
|
|
location / { |
|
try_files $uri $uri/ =404; |
|
} |
|
|
|
location ~ \.php$ { |
|
include snippets/fastcgi-php.conf; |
|
fastcgi_pass unix:/run/php/php8.1-fpm.sock; |
|
} |
|
|
|
location ~ /\. { |
|
deny all; |
|
} |
|
} |