delpoyment with fully dockerized project on wixur.ir, dyolink docker hub created beside backend and frontend image is uploaded.
This commit is contained in:
17
infrastructure/nginx/nginx.bootstrap.conf
Normal file
17
infrastructure/nginx/nginx.bootstrap.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# Temporary HTTP-only config used while obtaining the first Let's Encrypt certificate.
|
||||
# Replaced by nginx/generated/default.conf after ./scripts/init-letsencrypt.sh
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 200 'Dyolink: obtaining SSL certificate. Retry shortly.';
|
||||
add_header Content-Type text/plain;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user