first commit
This commit is contained in:
commit
6cecc91337
3 changed files with 28 additions and 0 deletions
28
README.md
Normal file
28
README.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Applicazione Flutter e relativo server json utilizzando MongoDB
|
||||
|
||||
modificare .env per il server
|
||||
utilizza auth.patachina.it per comunicare
|
||||
|
||||
nginx è settato così
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name auth.patachina.it;
|
||||
|
||||
ssl_certificate ssl/live/patachina.it/fullchain.pem;
|
||||
ssl_certificate_key ssl/live/patachina.it/privkey.pem;
|
||||
|
||||
location /.well-known/ {
|
||||
proxy_pass http://192.168.1.3:3400/.well-known/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.1.3:3400;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
BIN
auth_svr.zip
Normal file
BIN
auth_svr.zip
Normal file
Binary file not shown.
BIN
authemailsvr.zip
Normal file
BIN
authemailsvr.zip
Normal file
Binary file not shown.
Loading…
Reference in a new issue