14 lines
226 B
Plaintext
14 lines
226 B
Plaintext
server {
|
|
# http uses port 80, and https uses port 443
|
|
listen 443 ssl; # for ipv4.
|
|
listen [::]:443 ssl; # for ipv6.
|
|
|
|
server_name localhost;
|
|
location / {
|
|
root /data/www;
|
|
}
|
|
location /images/ {
|
|
root /data;
|
|
}
|
|
}
|