|
| 1 | + |
1 | 2 | server {
|
2 | 3 | listen 443 ssl;
|
3 | 4 | server_name coala.io www.coala.io;
|
4 |
| - |
| 5 | + |
5 | 6 | location / {
|
6 | 7 | proxy_pass http://192.30.252.153;
|
7 | 8 | proxy_set_header Host coala.io;
|
8 | 9 | proxy_set_header X-Real-IP $remote_addr;
|
9 | 10 | proxy_intercept_errors on;
|
10 | 11 | }
|
11 | 12 |
|
12 |
| - # URL shortener |
13 |
| - location /newcomer { return 302 http://api.coala.io/en/latest/Developers/Newcomers_Guide.html; } |
14 |
| - location /newcomers { return 302 http://api.coala.io/en/latest/Developers/Newcomers_Guide.html; } |
15 |
| - location /new { return 302 https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Acoala+label%3Adifficulty%2Fnewcomer+-label%3Ainitiatives%2Fgci+no%3Aassignee; } |
16 |
| - location /low { return 302 https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Acoala+label%3Adifficulty%2Flow++no%3Aassignee; } |
17 |
| - location /medium { return 302 https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Acoala+label%3Adifficulty%2Fmedium+no%3Aassignee; } |
18 |
| - location /review { return 302 https://github.com/pulls?q=is%3Aopen+user%3Acoala+label%3A%22process%2Fpending+review%22+sort%3Acreated-asc; } |
19 |
| - location /greview { return 302 https://gitlab.com/groups/coala/merge_requests; } |
20 |
| - location /approved { return 302 https://github.com/pulls?q=is%3Aopen+user%3Acoala+label%3A%22process%2Fapproved%22+sort%3Acreated-asc; } |
21 |
| - location /reviewing { return 302 http://api.coala.io/en/latest/Developers/Review.html; } |
22 |
| - location /languages { return 302 http://coala.io/#!/languages; } |
23 |
| - location /chat { return 302 https://gitter.im/coala-analyzer/coala; } |
24 |
| - location /git { return 302 http://api.coala.io/en/latest/Developers/Git_Basics.html; } |
25 |
| - location /rebase { return 302 https://coala.io/git#rebasing; } |
26 |
| - location /commit { return 302 http://api.coala.io/en/latest/Developers/Writing_Good_Commits.html; } |
27 |
| - location /cep { return 302 https://github.com/coala/cEPs/blob/master/cEP-0000.md; } |
28 |
| - location /cep1 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0001.md; } |
29 |
| - location /cep2 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0002.md; } |
30 |
| - location /cep3 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0003.md; } |
31 |
| - location /cep5 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0005.md; } |
32 |
| - location /cep6 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0006.md; } |
33 |
| - location /cep9 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0009.md; } |
34 |
| - location /cep10 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0010.md; } |
35 |
| - location /cep12 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0012.md; } |
36 |
| - location /cep13 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0013.md; } |
37 |
| - location /cep14 { return 302 https://github.com/coala/cEPs/blob/master/cEP-0014.md; } |
38 |
| - location /coc { return 302 https://github.com/coala/cEPs/blob/master/cEP-0006.md; } |
39 |
| - location /tutorial { return 302 https://docs.coala.io/en/latest/Users/Tutorial.html; } |
40 |
| - location /writingbears { return 302 https://api.coala.io/en/latest/Developers/Writing_Native_Bears.html; } |
41 |
| - location /channels { return 302 https://github.com/coala/coala/wiki/Communication-Channels; } |
42 |
| - location /newform { return 302 https://docs.google.com/forms/d/e/1FAIpQLSd7g_MU_c-BMQ62WHeznrvcoXwqW87O_Wq4Gz7-pp8PJ38Wdg/viewform; } |
43 |
| - location /projects { return 302 https://github.com/coala/coala/wiki/Project-Ideas; } |
44 |
| - location /reviewsprint { return 302 https://docs.google.com/forms/d/e/1FAIpQLSd4vHafTyY4RW--fOyIVecBM0WKNEeF-RyFvUn83jCF9ou2tg/viewform; } |
45 |
| - location /reply { return 302 https://github.com/coala/coala/wiki/Reply-Templates; } |
46 |
| - location /linespots { return 302 https://gitlab.com/sims1253/Linespots; } |
47 |
| - location /usability { return 302 https://docs.google.com/forms/d/e/1FAIpQLSe9lZxuYEKlvxXzQUOTwrre3CQMNsks7eOzEl49_2q5vlDl0w/viewform; } |
48 |
| - location /starwars { return 302 https://www.youtube.com/watch?v=JWVCMjKU_10; } |
49 |
| - location /docs { return 302 https://docs.coala.io/; } |
50 |
| - location /api { return 302 https://api.coala.io/; } |
51 |
| - location /viperform { return 302 https://docs.google.com/forms/d/e/1FAIpQLSdtdIF5CLnO2erAc41yLRoEvUMXyt3ZWUOVJ5LSqpwZEYF03A/viewform; } |
52 |
| - location /romania { return 302 https://www.bigmarker.com/remote-meetup/Open-Source-and-Google-Summer-of-Code-8-Gorgeous-Short-Presentations; } |
53 |
| - location /thesis { return 302 https://github.com/coala/coala/wiki/Writing-a-Thesis-with-coala; } |
54 |
| - location /install { return 302 http://docs.coala.io/en/latest/Users/Install.html; } |
55 |
| - location /comania { return 302 https://github.com/coala/coala/wiki/Hackathon-comania; } |
56 |
| - location /pizza { return 302 https://docs.google.com/forms/d/e/1FAIpQLSdt_zc_bgAE6vqTypSBnWk240AEnhCE7NBmpU1nLnFBuaivqA/viewform; } |
57 |
| - location /help { return 302 http://api.coala.io/en/latest/Developers/coala_settings.html; } |
58 |
| - location /devsetup { return 302 https://api.coala.io/en/latest/Developers/Development_Setup.html; } |
59 |
| - location /community_issues { return 302 https://github.com/pulls?q=is:open+user:coala+label:"community_team"+sort:created-asc; } |
60 |
| - location /fosdem2017 { return 302 http://eepurl.com/cABthT; } |
61 |
| - location /gitmate { return 302 https://coala.io/#/gitmate; } |
62 |
| - location /nginx.txt { return 302 coala.io.conf; } |
63 |
| - location /links { return 302 coala.io.conf; } |
64 |
| - location /csoc { return 302 https://docs.google.com/forms/d/e/1FAIpQLSeR8WKkZA1R0gBDjJqfeI96jgHe9mt8zmAVm1YtB5FpJFD9gQ/viewform?usp=sf_link; } |
65 |
| - location /recipes { return 302 https://github.com/coala/recipes; } |
66 |
| - |
67 |
| - location /autocontrib { return 302 https://docs.google.com/presentation/d/1fYx1aiSSj_w1vw017tBYfSGbfgl38sMWg3qlhvimYu8/edit?usp=sharing; } |
68 |
| - location /exterminate { return 302 https://github.com/adtac/exterminate/; } |
69 |
| - location /exterminatep { return 302 https://docs.google.com/presentation/d/1qJpXMgA8_WJNO3eUV_ueNiU8w_1fTethNvEuU2XHnWs/edit?usp=sharing; } |
70 |
| - |
71 |
| - location /feedback { return 302 https://goo.gl/DcTPbn; } |
72 |
| - |
73 |
| - location /coala.io.conf { |
74 |
| - add_header Content-Type text/plain; |
75 |
| - root /etc/nginx/conf.d; |
| 13 | + location /links { |
| 14 | + root /usr/share/nginx/html; |
76 | 15 | }
|
| 16 | + |
| 17 | + location /newcomer { return 301 https://api.coala.io/en/latest/Developers/Newcomers_Guide.html; } |
| 18 | + location /newcomers { return 301 https://api.coala.io/en/latest/Developers/Newcomers_Guide.html; } |
| 19 | + location /new { return 301 https://github.com/issues?q=is%3Aopen%20is%3Aissue%20user%3Acoala%20label%3Adifficulty/newcomer-label%3Ainitiatives/gci%20no%3Aassignee; } |
| 20 | + location /low { return 301 https://github.com/issues?q=is%3Aopen%20is%3Aissue%20user%3Acoala%20label%3Adifficulty/low%20no%3Aassignee; } |
| 21 | + location /medium { return 301 https://github.com/issues?q=is%3Aopen%20is%3Aissue%20user%3Acoala%20label%3Adifficulty/medium%20no%3Aassignee; } |
| 22 | + location /review { return 301 https://github.com/pulls?q=is%3Aopen%20user%3Acoala%20label%3Aprocess/pending%20review%20sort%3Acreated-asc; } |
| 23 | + location /greview { return 301 https://gitlab.com/groups/coala/merge_requests; } |
| 24 | + location /approved { return 301 https://github.com/pulls?q=is%3Aopen%20user%3Acoala%20label%3Aprocess/approved%20sort%3Acreated-asc; } |
| 25 | + location /reviewing { return 301 https://api.coala.io/en/latest/Developers/Review.html; } |
| 26 | + location /languages { return 301 https://coala.io/#!/languages; } |
| 27 | + location /chat { return 301 https://gitter.im/coala-analyzer/coala; } |
| 28 | + location /git { return 301 https://api.coala.io/en/latest/Developers/Git_Basics.html; } |
| 29 | + location /rebase { return 301 https://coala.io/git#rebasing; } |
| 30 | + location /commit { return 301 https://api.coala.io/en/latest/Developers/Writing_Good_Commits.html; } |
| 31 | + location /cep { return 301 https://github.com/coala/cEPs/blob/master/cEP-0000.md; } |
| 32 | + location /cep1 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0001.md; } |
| 33 | + location /cep2 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0002.md; } |
| 34 | + location /cep3 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0003.md; } |
| 35 | + location /cep5 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0005.md; } |
| 36 | + location /cep6 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0006.md; } |
| 37 | + location /cep9 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0009.md; } |
| 38 | + location /cep10 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0010.md; } |
| 39 | + location /cep12 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0012.md; } |
| 40 | + location /cep14 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0014.md; } |
| 41 | + location /coc { return 301 https://github.com/coala/cEPs/blob/master/cEP-0006.md; } |
| 42 | + location /tutorial { return 301 https://docs.coala.io/en/latest/Users/Tutorial.html; } |
| 43 | + location /writingbears { return 301 https://api.coala.io/en/latest/Developers/Writing_Native_Bears.html; } |
| 44 | + location /channels { return 301 https://github.com/coala/repo/wiki/Communication-Channels; } |
| 45 | + location /newform { return 301 https://docs.google.com/forms/d/e/1FAIpQLSd7g_MU_c-BMQ62WHeznrvcoXwqW87O_Wq4Gz7-pp8PJ38Wdg/viewform; } |
| 46 | + location /projects { return 301 https://github.com/coala/repo/wiki/Project-Ideas; } |
| 47 | + location /reviewsprint { return 301 https://docs.google.com/forms/d/e/1FAIpQLSd4vHafTyY4RW--fOyIVecBM0WKNEeF-RyFvUn83jCF9ou2tg/viewform; } |
| 48 | + location /reply { return 301 https://github.com/coala/repo/wiki/Reply-Templates; } |
| 49 | + location /linespots { return 301 https://gitlab.com/sims1253/Linespots; } |
| 50 | + location /usability { return 301 https://docs.google.com/forms/d/e/1FAIpQLSe9lZxuYEKlvxXzQUOTwrre3CQMNsks7eOzEl49_2q5vlDl0w/viewform; } |
| 51 | + location /starwars { return 301 https://www.youtube.com/watch?v=JWVCMjKU_10; } |
| 52 | + location /docs { return 301 https://docs.coala.io; } |
| 53 | + location /api { return 301 https://api.coala.io; } |
| 54 | + location /viperform { return 301 https://docs.google.com/forms/d/e/1FAIpQLSdtdIF5CLnO2erAc41yLRoEvUMXyt3ZWUOVJ5LSqpwZEYF03A/viewform; } |
| 55 | + location /romania { return 301 https://www.bigmarker.com/remote-meetup/Open-Source-and-Google-Summer-of-Code-8-Gorgeous-Short-Presentations; } |
| 56 | + location /thesis { return 301 https://github.com/coala/repo/wiki/Writing-a-Thesis-with-coala; } |
| 57 | + location /install { return 301 https://docs.coala.io/en/latest/Users/Install.html; } |
| 58 | + location /comania { return 301 https://github.com/coala/repo/wiki/Hackathon-comania; } |
| 59 | + location /pizza { return 301 https://docs.google.com/forms/d/e/1FAIpQLSdt_zc_bgAE6vqTypSBnWk240AEnhCE7NBmpU1nLnFBuaivqA/viewform; } |
| 60 | + location /help { return 301 https://api.coala.io/en/latest/Developers/coala_settings.html; } |
| 61 | + location /devsetup { return 301 https://api.coala.io/en/latest/Developers/Development_Setup.html; } |
| 62 | + location /community_issues { return 301 https://github.com/pulls?q=is%3Aopen%20user%3Acoala%20label%3Acommunity_team%20sort%3Acreated-asc; } |
| 63 | + location /fosdem2017 { return 301 https://http://coala.us15.list-manage1.com/subscribe?u=f37f470f0755466918fbde30b&id=71567f2923; } |
| 64 | + location /gitmate { return 301 https://coala.io/#/gitmate; } |
| 65 | + location /csoc { return 301 https://docs.google.com/forms/d/e/1FAIpQLSeR8WKkZA1R0gBDjJqfeI96jgHe9mt8zmAVm1YtB5FpJFD9gQ/viewform; } |
| 66 | + location /recipes { return 301 https://github.com/coala/recipes; } |
| 67 | + location /autocontrib { return 301 https://docs.google.com/presentation/d/1fYx1aiSSj_w1vw017tBYfSGbfgl38sMWg3qlhvimYu8/edit; } |
| 68 | + location /exterminate { return 301 https://github.com/adtac/exterminate; } |
| 69 | + location /exterminatep { return 301 https://docs.google.com/presentation/d/1qJpXMgA8_WJNO3eUV_ueNiU8w_1fTethNvEuU2XHnWs/edit; } |
| 70 | + location /feedback { return 301 https://docs.google.com/forms/d/e/1FAIpQLSePFIE5-Mfk-ER307rdcAmBHZpKNRgOSeq-rmjY-09pEn3TsA/viewform; } |
77 | 71 | }
|
0 commit comments