Improve documentation.

This commit is contained in:
Paulo Gustavo Veiga
2024-04-06 02:47:01 -07:00
parent 12b46b4400
commit b510e4929e
7 changed files with 58 additions and 182 deletions

View File

@@ -3,6 +3,8 @@ server {
gzip on;
charset UTF-8;
server_name wise-ui;
# Change base URL to match the host URL.
sub_filter '<base>' '<base href="http://$host/">';
location / {
# This would be the directory where your React app's static files are stored at
@@ -18,7 +20,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:8080/api/;
proxy_pass http://wise-api:8080/api/;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;