佛山专业做淘宝网站推广确定网站界面
佛山专业做淘宝网站推广,确定网站界面,源码怎么搭建WORDPRESS,在线注册linux-前端项目由nginx迁移到apache httpd 1、前端项目存放目录为 /var/www/dist 虚拟主机端口80 反向代理拦截 /prod-api 后端服务地址 http://192.168.0.44:8097 2、在/etc/httpd/conf.d/目录中#xff0c;创建一个vhost.conf的文件#xff0c;放入以下内容 VirtualHos…linux-前端项目由nginx迁移到apache httpd 1、前端项目存放目录为 /var/www/dist 虚拟主机端口80 反向代理拦截 /prod-api 后端服务地址 http://192.168.0.44:8097 2、在/etc/httpd/conf.d/目录中创建一个vhost.conf的文件放入以下内容 VirtualHost *:80DocumentRoot /var/www/distServerName www.dist.comDirectory /var/www/distRewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . index.html [L]SetOutputFilter DEFLATEOptions FollowSymLinksAllowOverride AllRequire all grantedDirectoryIndex index.php index.html index.htm default.php default.html default.htm/DirectoryProxyRequests offProxyPass /prod-api http://192.168.0.44:8097ProxyPassReverse /prod-api http://192.168.0.44:8097
/VirtualHost3、隐藏httpd的版本号和操作系统信息。 在/etc/httpd/conf.d/目录中创建一个servertokens.conf的文件放入以下内容 #
# ServerTokens
# This directive configures what you return as the Server HTTP response
# Header. The default is Full which sends information about the OS-Type
# and compiled in modules.
# Set to one of: Full | OS | Minor | Minimal | Major | Prod
# where Full conveys the most information, and Prod the least.
#
ServerTokens Prod小尾巴~~ 只要有积累就会有进步
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/88475.shtml
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!