21 lines
324 B
Nginx Configuration File
21 lines
324 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name 127.0.0.1;
|
|
charset utf-8;
|
|
client_max_body_size 75M;
|
|
|
|
|
|
location /static/ {
|
|
alias /cwebcomp/static/;
|
|
}
|
|
|
|
location /media/ {
|
|
alias /cwebcomp/media/;
|
|
}
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
uwsgi_pass 127.0.0.1:8000;
|
|
}
|
|
}
|