Nginx
nginx可以帮助用户快速建站。
安装
# pacman -S nginx
配置
/etc/nginx/nginx.conf
下http
配置
include conf.d/*.conf; types_hash_max_size 4096; server_names_hash_bucket_size 128; types_hash_bucket_size 64; client_max_body_size 3m; client_body_buffer_size 128k; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 6000; proxy_buffer_size 16k; proxy_buffers 4 64k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k;
user
修改
user root;
配置文件今后就为/etc/nginx/conf.d
下的conf文件
启动
# systemctl enable nginx # systemctl restart nginx