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:
parent
df49b93877
commit
16c11eb4a3
5 changed files with 29 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue