Created
August 1, 2025 09:02
-
-
Save hivelogic2018/044cb7ddd4677854c9cd0c4fb8cbcf2b to your computer and use it in GitHub Desktop.
DevOps 7/2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 443 ssl; | |
| listen [::]:443 ssl; | |
| server_name teleport.zingastay.com; | |
| # SSL configuration (handled by CapRover's Let's Encrypt) | |
| ssl_certificate /nginx-shared/ssl/teleport.zingastay.com/fullchain.pem; | |
| ssl_certificate_key /nginx-shared/ssl/teleport.zingastay.com/privkey.pem; | |
| # Proxy settings for Teleport | |
| location / { | |
| proxy_pass https://teleport-server:8080; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; | |
| # WebSocket support for Teleport's web UI | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| # Increase timeout settings for long-lived connections | |
| proxy_read_timeout 900s; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment