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:
@@ -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/(.*)$ {
|
||||
|
||||
Reference in New Issue
Block a user