panel / nginx.conf
Ikyy's picture
Update nginx.conf
7f76bc0 verified
raw
history blame contribute delete
417 Bytes
server {
listen 7860;
server_name _;
root /var/www/pterodactyl/public;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}