Skip to content

Commit

Permalink
Install Nomad
Browse files Browse the repository at this point in the history
  • Loading branch information
evroon committed Mar 1, 2024
1 parent b0ebffe commit a323d77
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
51 changes: 51 additions & 0 deletions ansible/inventory.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ansible/provision.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions ansible/roles/nginx/templates/sites-available/nomad.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
server {
server_name {{ nomad_domain_name }};

listen 443 ssl;
listen [::]:443 ssl;

include /etc/authelia/nginx/authelia-location.conf;

location / {
include /etc/authelia/nginx/proxy.conf;
include /etc/authelia/nginx/authelia-authrequest.conf;
proxy_pass http://localhost:4646;
}

ssl_certificate /etc/letsencrypt/live/{{ domain_name }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ domain_name }}/privkey.pem;
}
19 changes: 19 additions & 0 deletions ansible/roles/nomad/tasks/main.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a323d77

Please sign in to comment.