docs - edit k8s php service port and append suffix to hosts

This commit is contained in:
florian 2021-08-15 00:26:37 +02:00
parent 4f024ec566
commit f9d4e90894
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 6 additions and 6 deletions

View File

@ -481,8 +481,8 @@ spec:
app: myservice
ports:
- protocol: TCP
port: 80
targetPort: 80
port: 9000
targetPort: 9000
```
### Linux
@ -764,7 +764,7 @@ metadata:
bunkerized-nginx.AUTO_LETS_ENCRYPT: "yes"
bunkerized-nginx.USE_REVERSE_PROXY: "yes"
bunkerized-nginx.REVERSE_PROXY_URL: "/"
bunkerized-nginx.REVERSE_PROXY_HOST: "http://myapp1"
bunkerized-nginx.REVERSE_PROXY_HOST: "http://myapp1.default.svc.cluster.local"
spec:
type: ClusterIP
selector:
@ -812,7 +812,7 @@ metadata:
annotations:
bunkerized-nginx.SERVER_NAME: "app2.example.com"
bunkerized-nginx.AUTO_LETS_ENCRYPT: "yes"
bunkerized-nginx.REMOTE_PHP: "myapp2"
bunkerized-nginx.REMOTE_PHP: "myapp2.default.svc.cluster.local"
bunkerized-nginx.REMOTE_PHP_PATH: "/app"
spec:
type: ClusterIP
@ -820,8 +820,8 @@ spec:
app: myapp2
ports:
- protocol: TCP
port: 80
targetPort: 80
port: 9000
targetPort: 9000
```
### Linux