mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 02:21:15 +00:00
* Add Docker web port image
* Comment out master
* Optimize
* Slim down image
* Revert "Comment out master"
This reverts commit 115c9770e8.
* Allow running from ISO
28 lines
552 B
Nginx Configuration File
28 lines
552 B
Nginx Configuration File
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
|
|
server {
|
|
listen 6931;
|
|
server_name localhost;
|
|
|
|
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
|
|
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
|
|
add_header 'Cross-Origin-Resource-Policy' 'cross-origin';
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html isle.html;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
location ~* ^/assets/(.*)$ {
|
|
alias /assets/;
|
|
try_files /$1 /DATA/disk/$1 =404;
|
|
}
|
|
}
|
|
}
|