Added Mariadb and wordpress
This commit is contained in:
21
wordpress/files/nginx.conf-ff.j2
Normal file
21
wordpress/files/nginx.conf-ff.j2
Normal file
@ -0,0 +1,21 @@
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
server_name {{ http_host }};
|
||||
|
||||
# Allow large attachments
|
||||
client_max_body_size 128M;
|
||||
|
||||
location / {
|
||||
|
||||
proxy_set_header Host $host:$server_port;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||
proxy_pass http://localhost:{{ web_port }};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user