1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Masterserver: report gameid, uptime, cosmetic fixes on server web page

This commit is contained in:
proller 2013-03-30 02:03:24 +04:00
parent df49b93877
commit 16c11eb4a3
5 changed files with 29 additions and 21 deletions

View file

@ -18,6 +18,7 @@ nginx:
location / {
index index.html;
add_header Access-Control-Allow-Origin *;
}
location /announce {
fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
@ -35,6 +36,10 @@ apache .htaccess:
Allow from all
</FilesMatch>
Deny from all
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>
=cut