Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bithavoc/6113548 to your computer and use it in GitHub Desktop.

Select an option

Save bithavoc/6113548 to your computer and use it in GitHub Desktop.
Nginx.conf file to expose ASP.NET development server remotely.
worker_processes 1;
events {
worker_connections 1024;
}
http {
default_type application/octet-stream;
keepalive_timeout 65;
server {
listen 9999;
server_name localhost;
location / {
proxy_pass http://localhost:51318; # replace the port with your ASP.NET development server por.
}
}
}
# http://johan.heapsource.com/post/56878597229/exposing-asp-net-development-server-remotely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment