[fix] role:gitea-and-nginx
This commit is contained in:
parent
82861a4778
commit
f653df336e
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"var_gitea_and_nginx_domain": "gitea.example.org",
|
||||
"var_gitea_and_nginx_port": 2378,
|
||||
"var_gitea_and_nginx_tls_mode": "enable"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% macro gitea_common() %}
|
||||
location / {
|
||||
proxy_pass http://localhost:3456;
|
||||
proxy_pass http://localhost:{{var_gitea_and_nginx_port | string}};
|
||||
client_max_body_size 20M;
|
||||
}
|
||||
{% endmacro %}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
"mandatory": false,
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"mandatory": false,
|
||||
"type": "integer"
|
||||
},
|
||||
"tls_mode": {
|
||||
"mandatory": false,
|
||||
"type": "string",
|
||||
|
|
|
|||
Loading…
Reference in a new issue