Forum OpenACS Q&A: Re: NGINX and CSS files
It seems I almost got the result. However, CSS and libraries still miss the correct path.
NGINX successfuly returns 200 to ADP and TCL files but it fails with 404 to files within /resources/
See logs bellow.
Best wishes,
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /core/index HTTP/1.1" 200 10182 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-theme/styles/evex-master.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/css/base.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/css/style.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/acs-templating/lists.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/vendor/jquery.min.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/acs-templating/forms.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/vendor/webfontloader.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/vendor/noframework.waypoints.min.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/vendor/swiper.jquery.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/js/responsive-nav.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/js/popup.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:16 -0400] "GET /resources/evex-core/js/bg-videos.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/js/fontloader.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/js/form-submit.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/acs-subsite/core.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/js/background-parallax.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/js/page-script.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/vendor/jquery.magnific-popup.min.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/js/reveal-animation.js HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/images/logo-evex-final.png HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:17 -0400] "GET /resources/evex-core/images/cross.png HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:19 -0400] "GET /core/index HTTP/1.1" 200 10182 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
177.148.180.216 - - [02/Jun/2017:23:03:19 -0400] "GET /resources/evex-theme/styles/evex-master.css HTTP/1.1" 404 143 "http://dev.evex.co/core/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"