Notes: Host a new web service on linux

Hosting a new web-service requires 2 steps: Create a new virtual host on nginx Create a systemd service, so that the web-service can start automatically on server restart. Setup virtual host on nginx > cd /var/www/frp > nano frp.smurfpandey.me.conf server { listen 80; listen [::]:80; server_name comments.smurfpandey.me; root /var/www/html; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:7500; } location ~ /.well-known { allow all; } client_max_body_size 50m; } ...

June 9, 2019 · Neeraj Verma

Notes: Fix "Drive sharing seems blocked by a firewall" with Docker

The below content is copied from another source, and kept here in case original source is lost. Open up Kaspersky and select Settings (bottom left) and then select Protection from the side menu and select Firewall. Open Configure packet rules. Select Local Services (TCP) and Edit. Finally, remove the port number from your Local ports (in my case 445) and save. You should now be able to share your drive without disabling Kaspersky firewall or applying any other temporary “fixes“. ...

May 1, 2019 · Neeraj Verma