server
This commit is contained in:
parent
6c0e529109
commit
4e4a1707c3
10
README.md
10
README.md
@ -26,8 +26,8 @@ exit
|
||||
mkdir -p /opt/saludut/backend /opt/saludut/frontend
|
||||
tar -czf saludut-backend.tar.gz --exclude="node_modules" --exclude=".env" backend
|
||||
tar -czf saludut-frontend.tar.gz --exclude="node_modules" saludut-inpec
|
||||
scp -C saludut-backend.tar.gz root@tu-servidor:/opt/saludut/
|
||||
scp -C saludut-frontend.tar.gz root@tu-servidor:/opt/saludut/
|
||||
scp -C saludut-backend.tar.gz root@autorizacion.saludut.com:/opt/saludut/
|
||||
scp -C saludut-frontend.tar.gz root@autorizacion.saludut.com:/opt/saludut/
|
||||
```
|
||||
|
||||
En el servidor:
|
||||
@ -136,7 +136,7 @@ Si no usas proxy y expones el puerto directo:
|
||||
```html
|
||||
<script>
|
||||
window.__SALUDUT_CONFIG__ = {
|
||||
apiBaseUrl: 'https://autorizaciones.saludut.com:3000'
|
||||
apiBaseUrl: 'https://autorizacion.saludut.com:3000'
|
||||
};
|
||||
</script>
|
||||
```
|
||||
@ -145,7 +145,7 @@ Si no usas proxy y expones el puerto directo:
|
||||
```nginx
|
||||
server {
|
||||
listen 80;
|
||||
server_name autorizaciones.saludut.com;
|
||||
server_name autorizacion.saludut.com;
|
||||
|
||||
root /var/www/saludut;
|
||||
index index.html;
|
||||
@ -166,7 +166,7 @@ server {
|
||||
Luego:
|
||||
```bash
|
||||
rc-service nginx start
|
||||
certbot --nginx -d autorizaciones.saludut.com
|
||||
certbot --nginx -d autorizacion.saludut.com
|
||||
```
|
||||
|
||||
## Desarrollo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user