Skip to content

Commit

Permalink
updated tempalte
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Nov 12, 2024
1 parent 7ae7022 commit 44d8717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/forc_api/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ http {
}
{% else %}
server {
listen {{ FORC_LOCAL_NETWORK }}:{{ FORC_SERVICE_PORT }};
listen {{ FORC_LOCAL_IP }}:{{ FORC_SERVICE_PORT }};
location / {
proxy_pass http://unix:/var/run/forc.sock;
}
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/forc_api/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ FORC_SERVICE_PORT: 5000
# If Forc Service will use HTTPs -- if not FORC_LOCAL_NETWORK must be provided
FORC_SERVICE_USE_HTTPS: true

#IF Forc Service does not use https needs to provided to allow requests from this specific network
FORC_LOCAL_NETWORK: ""
#IF Forc Service does not use https needs to provided to allow requests only for the local reachable ip
FORC_LOCAL_IP: ""
# Set this to no if you don't use certbot for autogenerating ssl certs.
CERTBOT_USED: "yes"

Expand Down

0 comments on commit 44d8717

Please sign in to comment.