Compare commits
No commits in common. "e041e4c490f260557d242d594542774a63c7b071" and "450be7a336a2dfb90169af950de285258d46cc4c" have entirely different histories.
e041e4c490
...
450be7a336
@ -4,8 +4,6 @@ services:
|
|||||||
image: "$IMAGEAPP"
|
image: "$IMAGEAPP"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:80"
|
||||||
environment:
|
|
||||||
- ELEMENT_WEB_PORT=8080
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/config.json:/app/config.json:ro
|
- ./config/config.json:/app/config.json:ro
|
||||||
|
@ -5,20 +5,6 @@ metadata:
|
|||||||
name: app
|
name: app
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
nginx.org/location-snippets:
|
|
||||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
|
||||||
more_set_headers X-Frame-Options SAMEORIGIN;
|
|
||||||
more_set_headers X-Content-Type-Options nosniff;
|
|
||||||
more_set_headers X-XSS-Protection "1; mode=block";
|
|
||||||
more_set_headers Content-Security-Policy "frame-ancestors 'self'";
|
|
||||||
|
|
||||||
nginx.ingress.kubernetes.io/server-snippet: |
|
|
||||||
if ($request_uri = "/") {
|
|
||||||
more_set_headers "Cache-Control: no-cache";
|
|
||||||
}
|
|
||||||
if ($request_uri ~* "^/(config.*\.json|i18n|home|sites|index\.html)$") {
|
|
||||||
more_set_headers "Cache-Control: no-cache, no-store, must-revalidate";
|
|
||||||
}
|
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
@ -72,10 +58,7 @@ spec:
|
|||||||
image: "$IMAGEAPP"
|
image: "$IMAGEAPP"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8080
|
containerPort: 80
|
||||||
env:
|
|
||||||
- name: ELEMENT_WEB_PORT
|
|
||||||
value: 8080
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /app/config.json
|
mountPath: /app/config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user