docs - edit k8s php service port and append suffix to hosts
This commit is contained in:
parent
4f024ec566
commit
f9d4e90894
@ -481,8 +481,8 @@ spec:
|
|||||||
app: myservice
|
app: myservice
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 9000
|
||||||
targetPort: 80
|
targetPort: 9000
|
||||||
```
|
```
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
@ -764,7 +764,7 @@ metadata:
|
|||||||
bunkerized-nginx.AUTO_LETS_ENCRYPT: "yes"
|
bunkerized-nginx.AUTO_LETS_ENCRYPT: "yes"
|
||||||
bunkerized-nginx.USE_REVERSE_PROXY: "yes"
|
bunkerized-nginx.USE_REVERSE_PROXY: "yes"
|
||||||
bunkerized-nginx.REVERSE_PROXY_URL: "/"
|
bunkerized-nginx.REVERSE_PROXY_URL: "/"
|
||||||
bunkerized-nginx.REVERSE_PROXY_HOST: "http://myapp1"
|
bunkerized-nginx.REVERSE_PROXY_HOST: "http://myapp1.default.svc.cluster.local"
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
@ -812,7 +812,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
bunkerized-nginx.SERVER_NAME: "app2.example.com"
|
bunkerized-nginx.SERVER_NAME: "app2.example.com"
|
||||||
bunkerized-nginx.AUTO_LETS_ENCRYPT: "yes"
|
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"
|
bunkerized-nginx.REMOTE_PHP_PATH: "/app"
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@ -820,8 +820,8 @@ spec:
|
|||||||
app: myapp2
|
app: myapp2
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 9000
|
||||||
targetPort: 80
|
targetPort: 9000
|
||||||
```
|
```
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user