x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] 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.

Product Version: UE 4.10
Tags:
more ▼

asked Dec 11 '15 at 03:09 AM in Packaging & Deployment

avatar image

Vanship
6 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Jul 13 '16 at 07:17 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!


1 answer: sort voted first

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.

more ▼

answered Jan 10 '16 at 03:31 PM

avatar image

TawreCZE
29 3 6 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question