mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-04 00:16:14 +02:00
Reinstate statistics which is currently not used. Remove unneeded line in
Dockerfile.
This commit is contained in:
parent
eb65e5eea0
commit
d370d40df7
@ -14,10 +14,6 @@ COPY main.py ./main.py
|
||||
|
||||
RUN echo $VERSION >> /version
|
||||
|
||||
#Note: This is appended so we can explicitly check if this JS file has been loaded
|
||||
#by the user's internet browser when accessing the setup site.
|
||||
RUN echo var jQueryMailu=\'loaded\'\; >> ./static/jquery.min.js
|
||||
|
||||
EXPOSE 80/tcp
|
||||
HEALTHCHECK --start-period=350s CMD curl -skfLo /dev/null http://localhost/
|
||||
USER mailu
|
||||
|
@ -39,6 +39,9 @@ AUTH_RATELIMIT_IP={{ auth_ratelimit_ip }}/hour
|
||||
AUTH_RATELIMIT_USER={{ auth_ratelimit_user }}/day
|
||||
{% endif %}
|
||||
|
||||
# Opt-out of statistics, replace with "True" to opt out
|
||||
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
|
||||
|
||||
###################################
|
||||
# Optional features
|
||||
###################################
|
||||
|
@ -58,6 +58,13 @@ Or in plain English: if receivers start to classify your mail as spam, this post
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-check-inline">
|
||||
<label class="form-check-label">
|
||||
<input class="form-check-input" type="checkbox" name="disable_statistics" value="True">
|
||||
Opt-out of statistics
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Website name</label>
|
||||
<input class="form-control" type="text" name="site_name" value="Mailu" required>
|
||||
|
Loading…
Reference in New Issue
Block a user