Closed jzizka91 closed 5 months ago
I assume STATIC_URL
and HOST_URL
are the same for you
In this case you should append a /static to the url so it points to the aowow/static dir.
Or give it its own static content domain if you are feeling fancy.
I'm getting multiple 404s errors on the webserver. It looks like some resources within the /static
dir with query parameters are not found, while others are. Weird.
14/Jun/2024:20:00:13 +0000] "GET /css/aowow.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET / HTTP/1.1" 200 3672 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /css/basic.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /css/global.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
14/Jun/2024:21:39:04 +0000] "GET /css/aowow.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /css/locale_enus.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/jquery-3.7.0.min.js HTTP/1.1" 200 3677 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/basic.js?1718021802 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /css/home.css?1718021801 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /widgets/power.js HTTP/1.1" 200 3660 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/locale_enus.js?1718021802 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/global.js?1718021802 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/locale.js?1718043586 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/Markup.js?1718043640 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /js/home.js?1718021802 HTTP/1.1" 404 5055 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /images/logos/favicon.ico HTTP/1.1" 200 3660 "http://<PUBLIC_IP>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:04 +0000] "GET /download/searchplugins/aowow.xml HTTP/1.1" 200 3659 "-"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:08 +0000] "GET /static/ HTTP/1.1" 403 555 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
[14/Jun/2024:21:39:08 +0000] "GET /favicon.ico HTTP/1.1" 200 3648 "http://<PUBLIC_IP>/static/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" "-"
I discovered the issue. The resources in the /static directory weren't being found because of a misconfiguration in my Nginx setup. Everything is working now. Thanks!
Hi again,
for some reason, I'm not able to properly display the site. SSL is not currently set up yet and site seems to be configured correctly. Please see the site config below.
Both
STATIC_HOST
andSITE_HOST
is public IP of the web server.Any idea what could be the issue? I tried a simple PHP app and that worked. What is the difference between
STATIC_HOST
andSITE_HOST
?OS: Ubuntu 24.04 PHP 8.0: revision used: - Browser (in case of JavaScript / display errors): - AzerothCore: no