Page MenuHomePhabricator

Cerb 재인스톨
Closed, ResolvedPublicEPIC

Description

예전에 있던 거 DB 뽑아서 import??

Related Objects

StatusSubtypeAssignedTask
ResolvedEPICrevi

Event Timeline

revi triaged this task as Wishlist priority.Dec 20 2020, 08:07
revi created this task.

PS: {T66} 이랑 충돌.

revi changed the subtype of this task from "Task" to "Epic".Dec 20 2020, 08:10

9.5.6에서 바로 최신버전으로 건너뛸 수 있는지, 한 버전씩 올려야 하는지 검토 필요.

1server {
2 listen 80;
3 server_name cerb.revi.email;
4 #access_log off;
5
6 location /status/nginx {
7 stub_status on;
8 access_log off;
9 allow 127.0.0.1;
10 deny all;
11 }
12
13 location /status/fpm {
14 access_log off;
15 allow 127.0.0.1;
16 #allow 10.0.0.0/16;
17 deny all;
18 include fastcgi_params;
19 fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
20 }
21
22 location / {
23 return 301 https://$host$request_uri;
24 }
25}
26
27server {
28 listen 443 ssl;
29 server_name cerb.revi.email;
30 #access_log off;
31
32 root /var/www/cerb;
33 index index.php;
34
35 # Increase upload max size from default of 1MB
36 client_max_body_size 30m;
37
38 charset utf-8;
39
40 # SSL
41 ssl_certificate /etc/letsencrypt/live/cerb.revi.email/fullchain.pem;
42 ssl_certificate_key /etc/letsencrypt/live/cerb.revi.email/privkey.pem;
43 ssl_protocols TLSv1.2;
44 ssl_prefer_server_ciphers on;
45 ssl_ciphers HIGH:!CAMELLIA:!RC4:!PSK:!aNULL:@STRENGTH;
46 ssl_dhparam /etc/ssl/certs/dhparam.pem;
47
48 # DNS
49 resolver 8.8.8.8 8.8.4.4 valid=300s;
50 resolver_timeout 5s;
51
52 # Always let people see the favicon file
53 location = /favicon\.ico {
54 allow all;
55 }
56
57 # Send PHP scripts to FPM
58 location ~ /(index|ajax)\.php$ {
59 proxy_connect_timeout 120;
60 proxy_send_timeout 120;
61 proxy_read_timeout 120;
62
63 fastcgi_split_path_info ^(.+\.php)(/.+)$;
64 fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
65 fastcgi_index index.php;
66 include fastcgi_params;
67 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
68 }
69
70 location ~ \.php$ {
71 deny all;
72 }
73
74 # Send all other paths to the Devblocks front controller index.php
75 location / {
76 try_files $uri /index.php?$query_string;
77 }
78}

- Congratulations! Your certificate and chain have been saved at:
  /etc/letsencrypt/live/cerb.revi.email/fullchain.pem
  Your key file has been saved at:
  /etc/letsencrypt/live/cerb.revi.email/privkey.pem
  Your cert will expire on 2021-03-20. To obtain a new or tweaked
  version of this certificate in the future, simply run certbot
  again. To non-interactively renew *all* of your certificates, run
  "certbot renew"
revi closed subtask Unknown Object (Maniphest Task) as Resolved.Dec 20 2020, 23:40
revi moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

:done:

revi mentioned this in Unknown Object (Maniphest Task).Dec 21 2020, 03:07
revi added a project: Unknown Object (Project).Dec 21 2020, 08:18
revi edited projects, added Restricted Project; removed Restricted Project.Dec 29 2020, 03:08
revi moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Dec 29 2020, 03:09