G

fdsf

public
Guest Sep 04, 2024 Never 23
Clone
Plaintext paste1.txt 28 lines (23 loc) | 662 Bytes
1
server {
2
listen 80;
3
server_name glomeran.com;
4
root /var/www/nubefa-backend/public;
5
6
index index.php index.html index.htm;
7
8
location / {
9
try_files $uri $uri/ /index.php?$query_string;
10
}
11
12
location /assets/ {
13
alias /var/www/nubefa-backend/public/assets/;
14
try_files $uri =404;
15
}
16
17
location ~ \.php$ {
18
include fastcgi_params;
19
fastcgi_pass nubefa-backend:9000;
20
fastcgi_index index.php;
21
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
22
}
23
24
location ~ /\.ht {
25
deny all;
26
}
27
}
28
root@ip-172-31-24-107:/home/ubuntu/nginx#