commit 6cecc91337e40ab988861736d77026c47dba75f5 Author: Fabio Date: Thu Nov 6 14:33:34 2025 +0100 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..851bdf1 --- /dev/null +++ b/README.md @@ -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; + } + } diff --git a/auth_svr.zip b/auth_svr.zip new file mode 100644 index 0000000..3e39a74 Binary files /dev/null and b/auth_svr.zip differ diff --git a/authemailsvr.zip b/authemailsvr.zip new file mode 100644 index 0000000..802841f Binary files /dev/null and b/authemailsvr.zip differ