35 lines
718 B
Nginx Configuration File
35 lines
718 B
Nginx Configuration File
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
|
|
keepalive_timeout 120;
|
|
keepalive_requests 10000;
|
|
|
|
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
autoindex on;
|
|
expires 1d;
|
|
}
|
|
|
|
location = /mih-fphub.flatpakrepo {
|
|
alias /www/mih_fphub_assets/mih-fphub.flatpakrepo;
|
|
default_type text/plain;
|
|
}
|
|
|
|
location = /favicon.png {
|
|
alias /www/mih_fphub_assets/favicon.png;
|
|
}
|
|
}
|
|
}
|