Serve a HTML5 Project

Everything works fine locally with the LauncherHelper on Windows.

What should I do if I would like to host the --HTML5 porject on a Ubuntu server.

Tried put everything behind NGINX with no luck.

Thanks in advance.

Well, after long testing I accomplish to serve HTML5 build to client from nginx.

I tried several paths and every path with enabled gzip in any form (e.g. gzip_static) doesn’t work for me.

So cause builded files already are gzipped I disabled it for them and for my website config looks like this:

server {
	listen 80;
	listen [::]:80;

	...
	
	location ~* \.gz {
	  gzip off;
	  add_header "Content-Encoding" "gzip";
	}

	location / {
		....		
	}
}

In global config I have gzip enabled, that’s why I disabling it on files with extension .gz, and yea I know it’s “cheating”, but that’s only method what works on my vps with nginx and HTML5 project.