use port 8080 instead of 80

This commit is contained in:
Michael Jerger 2024-02-28 15:03:04 +01:00
parent 2582bcfb10
commit 0d5d10d64c
6 changed files with 41 additions and 46 deletions

View file

@ -12,4 +12,3 @@ spec:
resources:
requests:
storage: WEBSITESTORAGESIZE

View file

@ -12,4 +12,3 @@ spec:
resources:
requests:
storage: 16Mi

View file

@ -80,8 +80,8 @@ data:
}
website.conf: |
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 8080 default_server;
listen [::]:8080 default_server;
server_name FQDN
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
add_header X-Frame-Options "SAMEORIGIN";
@ -96,4 +96,3 @@ data:
# redirects
REDIRECTS
}

View file

@ -22,7 +22,7 @@ spec:
image: nginx:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
- containerPort: 8080
volumeMounts:
- mountPath: /etc/nginx
readOnly: true
@ -71,4 +71,3 @@ spec:
- name: hash-state-volume
persistentVolumeClaim:
claimName: hash-state-volume

View file

@ -11,5 +11,4 @@ spec:
app: nginx
ports:
- name: nginx-http
port: 80
port: 8080