2020-11-25 14:35:55 +01:00
|
|
|
---
|
2020-11-25 19:26:26 +01:00
|
|
|
py3_env_install: '{{ pgadmin_via_pip }}'
|
|
|
|
|
|
|
|
pgadmin_nginx_virthost:
|
|
|
|
- virthost_name: '{{ pgadmin_nginx_virtualhost_name }}'
|
|
|
|
listen: '{{ pgadmin_nginx_http_port }}'
|
|
|
|
server_name: '{{ pgadmin_nginx_servername }}'
|
|
|
|
ssl_enabled: True
|
|
|
|
ssl_only: True
|
|
|
|
ssl_letsencrypt_certs: '{{ nginx_letsencrypt_managed }}'
|
|
|
|
root: /usr/share/nginx/html/
|
|
|
|
server_tokens: 'off'
|
|
|
|
proxy_standard_setup: True
|
|
|
|
locations:
|
|
|
|
- location: /
|
|
|
|
target: http://127.0.0.1:{{ pgadmin_server_port }}
|
|
|
|
other_opts:
|
|
|
|
- 'proxy_redirect http://127.0.0.1:{{ pgadmin_server_port }}/ https://$host/'
|