Don't publish any ports from the test container

This allows us to make test requests to port 80, like in production
This commit is contained in:
2025-06-11 09:44:38 -07:00
parent 9f019dbac5
commit 831a86c738
3 changed files with 43 additions and 29 deletions

View File

@@ -7,8 +7,7 @@ events {
http {
server {
# listen 80;
listen 8080;
listen 80;
# listen 443 ssl;
include mime.types;
@@ -34,7 +33,6 @@ http {
}
server {
listen 8080;
# listen 443 ssl;
server_name webdevcat.me;
@@ -43,7 +41,7 @@ http {
default_type text/html;
location / {
return 301 http://miti.sh:8080$request_uri;
return 301 http://miti.sh$request_uri;
}
location ~ ^/git/(.*)$ {