disabled auto certbot, switched to nginx:alpine
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 46s
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 46s
This commit is contained in:
@@ -2,7 +2,7 @@ server {
|
||||
listen 80;
|
||||
server_name demo.networkwizard.xyz;
|
||||
|
||||
# Optional: Redirect HTTP to HTTPS (access via external port 8008 redirects to 4433)
|
||||
# Optional: Redirect HTTP to HTTPS (adjust port if needed)
|
||||
location / {
|
||||
return 301 https://$host:4433$request_uri;
|
||||
}
|
||||
@@ -12,8 +12,8 @@ server {
|
||||
listen 443 ssl;
|
||||
server_name demo.networkwizard.xyz;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
||||
ssl_certificate /etc/nginx/ssl/origin_cert.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/origin_key.key;
|
||||
|
||||
# Optional: Enhance security
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
||||
Reference in New Issue
Block a user