Ikyy commited on
Commit
f3f4a62
·
verified ·
1 Parent(s): 8256149

Create nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +18 -0
nginx.conf ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ server {
2
+ listen 7860;
3
+ server_name _;
4
+
5
+ root /var/www/pterodactyl/public;
6
+ index index.php;
7
+
8
+ location / {
9
+ try_files $uri $uri/ /index.php?$query_string;
10
+ }
11
+
12
+ location ~ \.php$ {
13
+ include snippets/fastcgi-php.conf;
14
+ fastcgi_pass unix:/run/php/php8.0-fpm.sock;
15
+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
16
+ include fastcgi_params;
17
+ }
18
+ }