File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ services:
3232 - " 443:443"
3333 volumes :
3434 - ./nginx.conf:/etc/nginx/nginx.conf:ro
35- - ./ssl:/etc/nginx/ssl:ro
35+ # - ./ssl:/etc/nginx/ssl:ro
3636 depends_on :
3737 - radar
3838 restart : unless-stopped
Original file line number Diff line number Diff line change @@ -16,29 +16,16 @@ http {
1616 gzip on;
1717 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
1818
19- # HTTP — redirect to HTTPS if SSL is configured, otherwise proxy directly
19+ # HTTP — serve the application directly
2020 server {
2121 listen 80 ;
2222 server_name _;
2323
24- # Let's Encrypt ACME challenge (needed for SSL certificate issuance )
24+ # Let's Encrypt ACME challenge (keeping for future use )
2525 location /.well-known/acme-challenge/ {
2626 root /var/www/certbot;
2727 }
2828
29- return 301 https://$host$request_uri ;
30- }
31-
32- # HTTPS — Cloudflare Origin Certificate
33- server {
34- listen 443 ssl ;
35- server_name radar.army www.radar.army;
36-
37- ssl_certificate /etc/nginx/ssl /origin.pem;
38- ssl_certificate_key /etc/nginx/ssl /origin.key;
39- ssl_protocols TLSv1.2 TLSv1.3;
40- ssl_ciphers HIGH:!aNULL:!MD5;
41-
4229 location / {
4330 proxy_pass http ://radar:3001 ;
4431 proxy_http_version 1.1;
You can’t perform that action at this time.
0 commit comments