mirror of
https://github.com/bytedance/g3.git
synced 2026-05-16 19:44:27 +00:00
29 lines
467 B
Nginx Configuration File
29 lines
467 B
Nginx Configuration File
worker_processes auto;
|
|
worker_cpu_affinity auto;
|
|
|
|
pid /tmp/nginx.pid;
|
|
|
|
events {}
|
|
|
|
http {
|
|
access_log off;
|
|
|
|
server {
|
|
server_name httpbin.local;
|
|
|
|
listen 8080;
|
|
listen [::]:8080;
|
|
|
|
listen 8443 ssl;
|
|
listen [::]:8443 ssl;
|
|
|
|
http2 on;
|
|
|
|
ssl_certificate httpbin.local.pem;
|
|
ssl_certificate_key httpbin.local-key.pem;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8000/;
|
|
}
|
|
}
|
|
}
|