Add cgi info to vger post, remove media/

pull/2/head
Arya K 3 months ago
parent 6b66ad5891
commit f1820cdbab
Signed by: aryak
GPG Key ID: 3A6EA2D0EE314EEF
  1. 14
      media/pb-sandwich.svg
  2. 8
      posts/vger.md

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="371px" height="398px" viewBox="0 0 371 398" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
<title>pb-sandwich</title>
<desc>Created with Sketch.</desc>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="pb-sandwich" fill="#000000" fill-rule="nonzero">
<path d="M350.7,5.383 C351.09844,9.5197 351.09844,13.6877 350.7,17.828 C347.3875,32.64 347.3875,48 350.7,62.812 C354.2469,78.867 350.07891,96.476 350.7,113.335 C352.3172,150.171 354.3094,186.944 357.3562,223.715 C360.9031,266.09 365.8171,308.336 369.8012,350.645 C371.4184,367.571 367.5629,373.481 350.0162,375.536 C323.6332,379.0204 297.0042,380.8251 270.4962,383.4383 C247.3482,385.6766 224.2032,387.7313 201.1172,390.4071 C152.0232,396.1298 102.9292,400.3016 53.5272,395.5087 L53.523294,395.5087 C43.921694,394.60245 34.410294,392.8954 25.089294,390.4071 C21.257294,389.48913 17.850994,387.2938 15.433094,384.1844 C13.011194,381.075 11.722194,377.2352 11.772894,373.2934 C8.038494,309.9494 3.558094,246.6134 0.448795971,183.2034 L0.448795971,183.207306 C0.437175,165.074306 1.476194,146.957306 3.558294,128.949306 C4.366884,116.816306 9.780994,104.433306 1.194994,92.922306 C0.464524,91.363706 0.464524,89.562906 1.194994,88.004306 C7.417694,74.254306 4.058294,60.254306 2.999694,46.192306 C1.816094,29.954306 2.999694,27.524306 19.675694,24.665306 C50.784694,19.438706 82.331694,14.337306 113.941694,11.286306 C160.734694,6.743306 207.711694,3.196506 254.691694,0.958306 C280.636694,-0.287794 306.769694,1.891896 332.843694,2.825506 C338.835894,3.360666 344.796694,4.212206 350.702694,5.376306 L350.7,5.383 Z M16.88,95.668 C14.3292,126.406 11.0323,153.41 10.2238,180.477 C9.47771,205.368 11.03239,230.254 12.4621,255.145 C14.5168,290.301 17.5637,325.333 19.8059,360.425 C21.1731,382.077 21.6106,383.073 42.7039,386.495 L42.7039,386.491094 C51.075,388.069194 59.5709,388.901294 68.0909,388.979394 C101.5679,388.358304 135.0399,388.295804 168.3909,385.807494 C208.5239,382.819194 248.4689,377.409094 288.5409,373.362494 C306.5839,371.495294 324.7559,370.686694 342.7989,368.569494 C358.7909,366.702294 361.4669,363.530394 360.2829,347.788494 C359.0368,330.241494 356.486,312.819494 355.1188,295.335494 C350.4704,235.976494 345.9508,176.615494 341.5528,117.255494 C340.61921,104.376494 340.1856,91.493494 339.4981,77.435494 L339.502006,77.435494 C332.916106,76.345694 326.260006,75.744094 319.588006,75.630794 C218.978006,82.161994 118.428006,88.880794 16.878006,95.665794 L16.88,95.668 Z M340.43,14.777 C294.387,1.898 48.98,20.0036 11.96,39.168 L15.1944,67.168 C35.4794,70.7774 316.9044,48.5 336.0144,41.781 L340.43,14.777 Z M13.64,81.105 L14.19859,87.3277 L339.99859,63.2497 C337.84629,60.3435 334.89309,58.1247 331.50249,56.8669 C328.10799,55.6052 324.42439,55.3591 320.89749,56.15596 C268.87749,60.38646 216.85749,64.67936 164.84749,68.60096 C119.61349,72.08536 74.31249,74.82366 29.01749,78.49546 C23.91589,78.554054 18.81449,80.17126 13.65049,81.10486 L13.64,81.105 Z" id="Shape"></path>
<path d="M311.19,175.31 C309.9361,185.705 307.858,195.982 304.9673,206.048 C292.5223,238.466 293.7683,271.63 297.3775,305.107 C299.3697,323.775 299.3697,325.392 281.3225,330.431 C263.2795,335.4701 245.8575,337.7748 228.1235,341.693 L228.1235,341.689094 C200.4515,347.747694 172.1195,350.255494 143.8115,349.157894 C127.9995,348.888364 112.1905,350.052424 96.5845,352.642294 C82.8345,354.696994 74.4325,345.177494 64.6625,339.513294 C60.8031,337.274994 60.6195,327.443294 59.9945,320.845294 C56.7601,285.318294 54.4554,249.661294 50.6625,214.195294 L50.666407,214.195294 C48.623407,204.316394 45.318707,194.738294 40.834407,185.699294 C38.967207,180.968794 35.795307,176.800894 33.990607,172.074294 L33.990607,172.070388 C29.275807,161.632388 29.545307,149.625388 34.721077,139.406388 C39.892977,129.191388 49.416077,121.871388 60.619077,119.492388 C78.041077,114.824388 95.650077,110.656488 113.135077,106.176388 L113.135077,106.180294 C136.412077,99.813094 161.287077,103.324794 181.893077,115.887294 C191.850077,122.109994 198.506077,120.492794 208.088077,115.512294 C221.037077,108.574794 234.904077,103.504294 249.279077,100.453294 C275.912077,95.351694 301.236077,105.058794 307.209077,140.215294 C309.134877,152.160294 309.943477,164.106294 311.19,175.309294 L311.19,175.31 Z M105.11,340.32051 C141.758,338.6403 176.231,343.3708 210.52,335.2809 C231.489,330.3043 252.958,327.7536 273.985,322.8359 C288.11,319.6015 288.981,316.9882 288.047,302.3629 C287.11341,287.7419 286.3673,272.9329 285.1212,258.2459 L285.125106,258.249806 C283.812606,244.667806 285.687606,230.968806 290.597806,218.241806 C294.121206,208.644106 296.785306,198.753806 298.562606,188.682806 C302.175906,171.385806 301.816506,153.491806 297.507906,136.354806 C296.195406,128.405606 291.984506,121.225806 285.687906,116.202806 C279.387106,111.179406 271.449906,108.671606 263.410906,109.163706 C257.090606,108.831676 250.765906,109.655896 244.742906,111.589506 C232.437906,115.761406 220.512906,120.964506 209.090906,127.148506 C199.258906,132.750106 192.039906,135.300806 181.961906,126.652416 L181.961906,126.64851 C170.371906,117.17191 155.731906,112.24251 140.770906,112.77351 C119.067906,112.714916 97.688906,118.03521 78.547906,128.26551 C65.106906,135.54671 63.801906,139.96451 69.278406,154.58551 C75.501106,171.01151 82.344406,187.19051 87.946406,203.92951 L87.9425,203.92951 C92.1066,216.26951 94.962,229.01151 96.4659,241.94551 C98.7667,265.09351 99.0792,288.36351 100.6964,311.57051 C101.3839,321.21891 103.3722,330.17951 105.1144,340.32051 L105.11,340.32051 Z M65.102,202.19 L60.934,202.565 L70.3285,303.305 C70.141,269.453 76.7387,234.981 64.9144,202.255 L65.102,202.19 Z M42.891,145.69 C38.2855,163.362 42.33241,174.811 54.278,184.827 L42.891,145.69 Z M86.446,337.83 C88.8093,324.701 88.8093,324.701 84.4538,320.096 C84.0788,321.09209 83.2702,322.1507 83.3952,323.0843 C84.39129,328.0648 85.5124,332.9202 86.446,337.8343 L86.446,337.83 Z" id="Shape"></path>
<path d="M243.74,152.66 C232.103,174.004 220.283,194.91 207.963,217.746 C199.6271,207.8515 205.3497,202.937 207.963,198.144 C231.483,154.835 231.545,154.835 243.74,152.66 Z" id="Path"></path>
<path d="M237.02,219.43 C230.7973,214.0784 233.7231,209.352 235.4653,205.055 C244.8598,182.157 254.5673,167.035 262.2193,163.117 C263.7115,173.137 251.1453,201.574 237.0203,219.429 L237.02,219.43 Z" id="Path"></path>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.4 KiB

@ -8,6 +8,8 @@ Hi,
I recently setup vger, a gemini server to replace agate on ~vern.
The main reason was the great virtual-hosts support (You just put a directory with the domain name in the dir and its rendered on it, no reload or anything!)
Heres some instructions on how I did that, on GNU/Linux.
Firstly, one of the hurdles i came across was that the instructions at the [git repo](https://tildegit.org/solene/vger) were very BSD-focused.
@ -27,7 +29,7 @@ services.xinetd.services = [ {
name = "vger";
user = "gemini";
server = "/var/gemini/vger/vger";
serverArgs = "-v -i";
serverArgs = "-v -i -c cgi-bin";
protocol = "tcp";
port = 11965;
unlisted = true;
@ -93,6 +95,10 @@ WantedBy=default.target
Now, just open 1965 through your firewall and you can access your gemini server!
While vger does support CGI, it does not support `TLS_CLIENT_HASH` since TLS is not handled by it.
Hence some gemini cgi progs will not work (mainly ones that need authentication)
If you have any doubts/questions/recommendations, feel free to ask in #vern-chat
~aryak

Loading…
Cancel
Save