blob: 12725f14b1b05c91dd24ffef48abcc0bd0054d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
sendfile on;
server {
listen 80;
root /var/www/html;
location /public {
add_header Cache-Control "public, max-age=31536000, immutable";
try_files $uri =404;
}
location / {
add_header Content-Security-Policy "base-uri 'none'";
include fastcgi_params;
fastcgi_pass php:9000;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}
}
}
|