Browse Source

notes

master
Sergio Álvarez 5 months ago
parent
commit
19bb323741
  1. 22
      README.md

22
README.md

@ -8,24 +8,4 @@ Build: `npm run build`
Simple nginx dev server:
```
server {
listen 80;
server_name localhost;
root /var/www/;
location ~ \.php$ {
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
```
And then:
```bash
$ mkdir /var/www/xrg.es
$ sudo mount --bind api/ /var/www/xrg.es
```
[Backend](/code/xrg.es-backend)
Loading…
Cancel
Save