server cambios
This commit is contained in:
parent
123fdf5d91
commit
6c0e529109
@ -69,7 +69,7 @@ DB_PASSWORD=TU_PASSWORD_FUERTE
|
|||||||
DB_NAME=saludut_db
|
DB_NAME=saludut_db
|
||||||
JWT_SECRET=CAMBIA_ESTE_SECRETO
|
JWT_SECRET=CAMBIA_ESTE_SECRETO
|
||||||
JWT_EXPIRES_IN=24h
|
JWT_EXPIRES_IN=24h
|
||||||
PORT=45231
|
PORT=3000
|
||||||
SOFFICE_PATH=/usr/bin/soffice
|
SOFFICE_PATH=/usr/bin/soffice
|
||||||
PYTHON_PATH=python3
|
PYTHON_PATH=python3
|
||||||
ADMIN_USER=admin
|
ADMIN_USER=admin
|
||||||
@ -136,7 +136,7 @@ Si no usas proxy y expones el puerto directo:
|
|||||||
```html
|
```html
|
||||||
<script>
|
<script>
|
||||||
window.__SALUDUT_CONFIG__ = {
|
window.__SALUDUT_CONFIG__ = {
|
||||||
apiBaseUrl: 'https://autorizaciones.saludut.com:45231'
|
apiBaseUrl: 'https://autorizaciones.saludut.com:3000'
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
@ -155,7 +155,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://127.0.0.1:45231/;
|
proxy_pass http://127.0.0.1:3000/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user