remainsalways commited on
Commit
838c186
·
verified ·
1 Parent(s): 5e93958

Create ngnix.conf

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