14 lines
464 B
Text
14 lines
464 B
Text
# A basic nginx configuration to test webmention.py
|
|
# Update unix: path to be the correct file
|
|
|
|
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
location / {
|
|
add_header Link "<https://webmention.libreinternet.club>; rel=\"webmention\"" always;
|
|
fastcgi_pass unix:/home/gopher/libreinternet.club/services/fcgi.sock;
|
|
fastcgi_param REQUEST_METHOD $request_method;
|
|
fastcgi_param REQUEST_URL $request_uri;
|
|
}
|
|
}
|