banner
RustyNail

RustyNail

coder. 【blog】https://rustynail.me 【nostr】wss://ts.relays.world/ wss://relays.world/nostr

Add static file configuration to nginx

It's simple, add a server

server {
        client_max_body_size 4G;
        listen  0.0.0.0:8888;  ## listen for ipv4; this line is default and implied
        server_name localhost;
        root /static/path/;
        location /static/mapping/path {
        }
    }
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.