启用 headers_moule
在 centos 配置比较简单,只需要 loadmodules 即可:
cat /etc/httpd/conf.modules.d/00-base.conf | grep headers
LoadModule headers_module modules[......]
在 centos 配置比较简单,只需要 loadmodules 即可:
cat /etc/httpd/conf.modules.d/00-base.conf | grep headers
LoadModule headers_module modules[......]
类似于,nginx 结合 php-fpm 可以支持跳转到 php 程序一样,nginx 后端也可以挂 uwsgi 来用 python 程序作为server端。
《一个UWSGI的例子》:https://blog.csdn.net/crazyhacking/article/det[……]
nginx 转发到 php-fpm
yum install nginx -y
yum install php-fpm -y
在 /etc/nginx/conf.d/default.conf 基础上直接修改,就可以作为你的应用使用:
server {
li[......]