File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# First server block now directly handles HTTP requests instead of redirecting
2
2
server {
3
3
listen 80;
4
- server_name mcpgateway localhost mcpgateway.ddns.net {{EC2_PUBLIC_DNS}};
4
+ server_name localhost mcpgateway.ddns.net {{EC2_PUBLIC_DNS}};
5
5
6
6
# Add this to trigger the named location for 403 errors
7
7
error_page 403 = @forbidden_error;
@@ -156,7 +156,7 @@ server {
156
156
# Keep the HTTPS server for clients that prefer it
157
157
server {
158
158
listen 443 ssl;
159
- server_name mcpgateway localhost mcpgateway.ddns.net {{EC2_PUBLIC_DNS}};
159
+ server_name localhost mcpgateway.ddns.net {{EC2_PUBLIC_DNS}};
160
160
161
161
# SSL Configuration using self-signed certs generated in Dockerfile
162
162
ssl_certificate /etc/ssl/certs/fullchain.pem;
You can’t perform that action at this time.
0 commit comments