debugging 1
This commit is contained in:
parent
1b0bb82bb2
commit
8a0c733440
@ -61,11 +61,24 @@
|
||||
copy:
|
||||
content: |
|
||||
server {
|
||||
listen 80; # para debug
|
||||
listen 443 ssl;
|
||||
server_name {{ wordpress_domain }};
|
||||
|
||||
# root /var/www/html;
|
||||
index index.php index.html;
|
||||
# access_log /dev/stdout;
|
||||
# error_log /dev/stdout info;
|
||||
|
||||
location {{ wordpress_web_root }} {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://{{ wordpress_container }};
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass wordpress:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
}
|
||||
dest: "{{ nginx_config_mountpoint }}/wordpress.conf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user