質問編集履歴

1

設定ファイル

2018/10/25 08:55

投稿

yuki_90453
yuki_90453

スコア326

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,181 @@
43
43
  403エラーは権限による物だと聞いていますが、権限を確認しても755になっていますので問題ないかと思います。
44
44
 
45
45
  他に怪しい部分や確認すべき点などアドバイスお願い致します。
46
+
47
+
48
+
49
+ ###追記
50
+
51
+ ```ここに言語を入力
52
+
53
+ user www-data;
54
+
55
+ worker_processes auto;
56
+
57
+ pid /run/nginx.pid;
58
+
59
+
60
+
61
+ events {
62
+
63
+ worker_connections 768;
64
+
65
+ # multi_accept on;
66
+
67
+ }
68
+
69
+
70
+
71
+ http {
72
+
73
+
74
+
75
+ ##
76
+
77
+ # Basic Settings
78
+
79
+ ##
80
+
81
+
82
+
83
+ sendfile on;
84
+
85
+ tcp_nopush on;
86
+
87
+ tcp_nodelay on;
88
+
89
+ keepalive_timeout 65;
90
+
91
+ types_hash_max_size 2048;
92
+
93
+ # server_tokens off;
94
+
95
+
96
+
97
+ # server_names_hash_bucket_size 64;
98
+
99
+ # server_name_in_redirect off;
100
+
101
+
102
+
103
+ include /etc/nginx/mime.types;
104
+
105
+ default_type application/octet-stream;
106
+
107
+
108
+
109
+ ##
110
+
111
+ # SSL Settings
112
+
113
+ ##
114
+
115
+
116
+
117
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
118
+
119
+ ssl_prefer_server_ciphers on;
120
+
121
+
122
+
123
+ ##
124
+
125
+ # Logging Settings
126
+
127
+ ##
128
+
129
+
130
+
131
+ access_log /var/log/nginx/access.log;
132
+
133
+ error_log /var/log/nginx/error.log;
134
+
135
+
136
+
137
+ ##
138
+
139
+ # Gzip Settings
140
+
141
+ ##
142
+
143
+
144
+
145
+ gzip on;
146
+
147
+ gzip_disable "msie6";
148
+
149
+
150
+
151
+ # gzip_vary on;
152
+
153
+ # gzip_proxied any;
154
+
155
+ # gzip_comp_level 6;
156
+
157
+ # gzip_buffers 16 8k;
158
+
159
+ # gzip_http_version 1.1;
160
+
161
+ # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
162
+
163
+
164
+
165
+ ##
166
+
167
+ # Virtual Host Configs
168
+
169
+ ##
170
+
171
+
172
+
173
+ include /etc/nginx/conf.d/*.conf;
174
+
175
+ include /etc/nginx/sites-enabled/*;
176
+
177
+ }
178
+
179
+
180
+
181
+
182
+
183
+ #mail {
184
+
185
+ # # See sample authentication script at:
186
+
187
+ # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
188
+
189
+ #
190
+
191
+ # # auth_http localhost/auth.php;
192
+
193
+ # # pop3_capabilities "TOP" "USER";
194
+
195
+ # # imap_capabilities "IMAP4rev1" "UIDPLUS";
196
+
197
+ #
198
+
199
+ # server {
200
+
201
+ # listen localhost:110;
202
+
203
+ # protocol pop3;
204
+
205
+ # proxy on;
206
+
207
+ # }
208
+
209
+ #
210
+
211
+ # server {
212
+
213
+ # listen localhost:143;
214
+
215
+ # protocol imap;
216
+
217
+ # proxy on;
218
+
219
+ # }
220
+
221
+ #}
222
+
223
+ ```