v0.1
This commit is contained in:
19
playbooks/roles/nginx-first-start/files/nginx/nginx.conf
Normal file
19
playbooks/roles/nginx-first-start/files/nginx/nginx.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
worker_processes auto;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http{server {
|
||||
listen 80;
|
||||
server_name ronis0505.tech git.ronis0505.tech drone.ronis0505.tech grafana.ronis0505.tech;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}}
|
Reference in New Issue
Block a user