diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 16:23:43 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 16:23:57 -0800 |
commit | b19321bab542de35564127dc77781af44252bcb9 (patch) | |
tree | 37d12f7867124e8440ee46ae9f903b242e8d62af /roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf | |
parent | 321cd40fba0956e3aa697f9e7c7006159a032f58 (diff) | |
download | oldinfra-b19321bab542de35564127dc77781af44252bcb9.tar.gz oldinfra-b19321bab542de35564127dc77781af44252bcb9.zip |
create a base template :) and use it for a new service
Diffstat (limited to 'roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf')
-rw-r--r-- | roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf b/roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf new file mode 100644 index 0000000..c849a26 --- /dev/null +++ b/roles/webservers/files/ryo/http.phoneof.simponic.xyz.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name phoneof.simponic.xyz; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://phoneof.simponic.xyz$request_uri? permanent; + } +} |