前端之家收集整理的这篇文章主要介绍了
Docker Nginx 设置header,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<table class="text"><tbody><tr class="li1">
<td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
jboesl/docker-
Nginx-headers-more
问题:
Nginx 启动失败, error:[emerg] 1#1: getpwnam("www-data")
Failed in /etc/
Nginx/
Nginx.conf:1
解决:
将
Nginx.conf 中注释 -> #user www-data;