Comments (7)
Sorry, no clue about nginx.
However, @racke knows the tool well if I recall correctly.
I'll request a review from him.
from sympa-community.github.io.
On Debian Stretch, /etc/nginx/fastcgi_params
contains
fastcgi_param SERVER_NAME $server_name;
Can you tell us what /etc/nginx/fastcgi_params
contains on your system?
from sympa-community.github.io.
Yes, the $server_name
variable is the correct one.
from sympa-community.github.io.
That's right also with RPM. I mean /etc/nginx/conf.d/sympa.conf
would contain a line to override definition of SERVERNAME
in fastcgi_params
.
from sympa-community.github.io.
Side note:
I feel a line
fastcgi_param SERVER_NAME $http_host;
is not a good idea: Client may set arbitrary Host:
request field (or no field) and Sympa will trust in it.
$host
is determined "in this order of precedence: host name from the request line, or host name from the “Host” request header field, or the server name matching a request" (doc). Additionally, if HTTPS is enabled, nginx gets SNI host name at first (ticket). It looks safer than $http_host
for me, but I couldn't be sure.
Another possible way to deteremine virtual hosts using SERVER_NAME
(defined as $server_name
) is adding multiple server
sections. However I feel it is a bit intricate.
from sympa-community.github.io.
Multiple server sections could be an alternative and it wouldn't be that intricate, as you can include the sympa part from a include file (actually I doing it that way). You need other settings depending on the server name in the server section (definitely https://).
from sympa-community.github.io.
I see my idea is not so hopeful. I close this issue. Thanks for suggestions!
from sympa-community.github.io.
Related Issues (20)
- Enabling message tracking breaks mail delivery when using exim's sendmail HOT 4
- https://www.sympa.community/help/ 404 page not found HOT 1
- Exim 4 configuration changes following taint checking in 4.96
- OpenSMTPd on OpenBSD : Integration with Current Syntax and Notes on OpenBSD HOT 1
- Add documentation for Exim integration HOT 10
- documentation issue postfix HOT 2
- on fresh install, $SYSCONFDIR and /usr/local/share/sympa/[abl]* should be made writable by sympa HOT 8
- Website: dead links and missing users on "Hosting services / Services d'hébergement" HOT 9
- Sympa Amazon AMI HOT 1
- AWS AMI of Sympa HOT 1
- Shared_feature sympa.conf 6.2.40 version. HOT 2
- Dead Links on page "Hosting services / Services d'hébergement" HOT 1
- Add details on manual/customize/archives.md HOT 3
- css_path & css_url parameters are poorly documented
- Services does not start on RHEL8 HOT 1
- sympa_transport file defined in postfix configuration page but not used HOT 2
- Typo in master.cf for automatic list configuration HOT 7
- sql query for sympa integration in postfix HOT 7
- Document external dependency to http://schemas.xmlsoap.org HOT 1
- SOAP API services page is incomplete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sympa-community.github.io.