Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Update README.md

Andrii R3ede21798915
diff --git a/README.md b/README.md
index 67b49ed4c..24fe2a17c 100644
--- a/README.md
+++ b/README.md
@@ -123,3 +123,33 @@ npm run build
```
Set up NGINX ( https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-debian-10 )\
+
+NGINX set up:
+```
+server {
+ listen 80;
+ server_name swetrix.com
+
+ root /var/www/html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+}
+
+server {
+ listen 80;
+ server_name api.swetrix.com;
+
+ location / {
+ proxy_pass http://localhost:5005;
+ }
+}
+
+server {
+ listen 80 default_server;
+ listen [::]:80 default_server;
+ server_name "";
+ return 404;
+}
+```