Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.5a nginx.conf and README.md #5

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ _For Web UI:_

```bash
docker run -d -p 80:8080 -p 443:8443 \
-v ./certs/www.crt:/etc/nginx/certs/certificate.crt \
-v ./certs/www.key:/etc/nginx/certs/certificate.key \
-v /etc/ca-certificates/certs/www.crt:/etc/nginx/certs/certificate.crt \
-v /etc/ca-certificates/certs/www.key:/etc/nginx/certs/certificate.key \
kennethgrace/netgpt-webui
```

_For API:_

```bash
docker run -d -p 49488:49488 \
-v ./certs/api.crt:/app/certs/api.crt \
-v ./certs/api.key:/app/certs/api.key \
-v /etc/ca-certificates/certs/api.crt:/app/certs/api.crt \
-v /etc/ca-certificates/certs/api.key:/app/certs/api.key \
kennethgrace/netgpt-api
```

Expand All @@ -75,8 +75,8 @@ provide the KeyCloak container with certificates using the following command:

```bash
docker run -d -p 7080:8080 -p 7443:8443 \
-v ./certs/auth.crt:/etc/x509/https/tls.crt \
-v ./certs/auth.key:/etc/x509/https/tls.key \
-v /etc/ca-certificates/certs/auth.crt:/etc/x509/https/tls.crt \
-v /etc/ca-certificates/certs/auth.key:/etc/x509/https/tls.key \
quay.io/keycloak/keycloak:latest
```

Expand Down
2 changes: 1 addition & 1 deletion www/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {
}

server {
listen 8443 certs;
listen 8443 ssl;

ssl_certificate /etc/nginx/certs/certificate.crt;
ssl_certificate_key /etc/nginx/certs/certificate.key;
Expand Down
Loading