first commit

This commit is contained in:
Fabio 2025-11-06 14:33:34 +01:00
commit 6cecc91337
3 changed files with 28 additions and 0 deletions

28
README.md Normal file
View 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

Binary file not shown.

BIN
authemailsvr.zip Normal file

Binary file not shown.