File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ terraform apply -var-file=YOUR_CONFIG.tfvars
57
57
```
58
58
tmux
59
59
cd email-oauth2-proxy/
60
- python3 emailproxy.py --no-gui --local-server-auth --aws-secrets -- config-file personal.config
60
+ python3 emailproxy.py --no-gui --local-server-auth --config-file personal.config
61
61
```
62
62
9 . In your email client, configure SMTP using the server settings:
63
63
* Outgoing SMTP server: ` DOMAIN_FULL_NAME `
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ runcmd:
39
39
# Install email-oauth2-proxy
40
40
- sudo -u ec2-user git clone --depth 1 --branch ${email_oauth2_proxy_version} ${email_oauth2_proxy_repo} /home/ec2-user/email-oauth2-proxy
41
41
- sudo -u ec2-user rm -rf /home/ec2-user/email-oauth2-proxy/.git
42
- - sudo -u ec2-user python3 -m pip install -r /home/ec2-user/email-oauth2-proxy/requirements-no-gui.txt -r /home/ec2-user/email-oauth2-proxy/requirements- aws-secrets.txt
42
+ - sudo -u ec2-user python3 -m pip install -r /home/ec2-user/email-oauth2-proxy/requirements-aws-secrets.txt
43
43
# Configure email-oauth2-proxy
44
44
- mv /tmp/personal.config /home/ec2-user/email-oauth2-proxy/personal.config
45
45
- mv /tmp/fullchain.pem /home/ec2-user/email-oauth2-proxy/fullchain.pem
@@ -67,7 +67,3 @@ runcmd:
67
67
region = ${aws_region}
68
68
EOL
69
69
- chown -R ec2-user:ec2-user /home/ec2-user/.aws/
70
- # Command to run:
71
- # ssh -L 8080:127.0.0.1:8080 ec2-user@<PUBLIC_IP>
72
- # tmux
73
- # PYSTRAY_BACKEND=dummy python3 /home/ec2-user/email-oauth2-proxy/emailproxy.py --no-gui --local-server-auth --config-file /home/ec2-user/email-oauth2-proxy/personal.config
You can’t perform that action at this time.
0 commit comments