You are here

Running Mono with NGINX

Ivan Radovanovic's picture

Important thing (if using regular expressions in server names configuration in NGINX) is to make sure to past $host as SERVER_NAME in fastcgi_params - like:
fastcgi_param SERVER_NAME $host;

Default value of $server_name will pass regexp and that will cause Mono to crash while parsing request URI.