transition to container_ over podman_
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
# Ngnix
|
||||
|
||||
## TCP Stream Proxy
|
||||
## Initial Install
|
||||
|
||||
```bash
|
||||
# Get the initial configuration
|
||||
scp active/podman_nginx/nginx.conf proxy:/etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
```bash
|
||||
vim /etc/containers/systemd/nginx.container
|
||||
```
|
||||
|
||||
@@ -30,7 +26,11 @@ Restart=always
|
||||
WantedBy=default.target
|
||||
```
|
||||
|
||||
## Update the Configuration
|
||||
|
||||
```bash
|
||||
scp active/container_nginx/nginx.conf proxy:/etc/nginx/nginx.conf
|
||||
ssh proxy
|
||||
systemctl daemon-reload
|
||||
systemctl start nginx
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user