12 lines
362 B
Django/Jinja
12 lines
362 B
Django/Jinja
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name {{ mcaptcha_server_hostname }};
|
|
error_log /var/log/nginx/"{{ mcaptcha_server_hostname }}".error.log;
|
|
access_log /var/log/nginx/"{{ mcaptcha_server_hostname }}".access.log;
|
|
|
|
location / {
|
|
proxy_pass http://{{ mcaptcha_server_bind }}:{{ mcaptcha_server_port }};
|
|
proxy_set_header Host $host;
|
|
}
|
|
}
|